package me.zhengjie.modules.order.domain.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import me.zhengjie.modules.order.domain.SoldDetail;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class SoldOrderListResp {

    @ApiModelProperty(value = "自增id")
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "订单id")
    private Long oId;

    @ApiModelProperty(value = "售后订单号")
    private String orderSn;

    @ApiModelProperty(value = "补充描述 ")
    private String reason;

    @ApiModelProperty(value = "退款金额")
    private BigDecimal money;

    @ApiModelProperty(value = "提交时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "1.待审核 2.已审核待收货  3.已完成 4.已拒绝")
    private Integer status;

    @ApiModelProperty(value = "拒绝理由")
    private String refuseReason;

    @ApiModelProperty(value = "售后类型 1-退款无需退货 2-退款退货")
    private Integer soldType;

    @ApiModelProperty(value = "总金额")
    private BigDecimal totalPrice;

    @ApiModelProperty(value = "实付款【和总金额一样，目前没有其他参数影响该字段】")
    private BigDecimal realPrice;

    @ApiModelProperty(value = "订单详情")
    private List<SoldDetail> detailList;

}
